package com.yi.gostockgo.mapper;

import com.yi.gostockgo.controller.vo.GoUserVo;
import com.yi.gostockgo.pojo.GoUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 股民信息 Mapper 接口
 * </p>
 *
 * @author liandyao
 * @since 2020-04-19
 */
public interface GoUserMapper extends BaseMapper<GoUser> {

    /**
     * 根据条件分页查询
     * @param goUserVo
     * @return 用户数据
     */
    List<GoUser> pagingQuery(GoUserVo goUserVo);

    /**
     * 根据条件查询行数
     * @param goUserVo
     * @return 符合条件行数
     */
    Integer pagingQueryCount(GoUserVo goUserVo);
}
